#ifndef STRUCTS_H
#define STRUCTS_H

#include <stdlib.h>
#include <sys/types.h>

enum PROC_STATE {NEW = 1, READY = 2, RUNNING = 3, SUSPENDED = 4, FINISHED = 5};

typedef struct proc710 {
	int arrivalTime;
	int priority;
	int executionTime;
	int nbPrinters;
	int nbScanners;
	int nbModems;
	int nbCDs;
	int state; // New - Ready - Running - Suspended - Finished
	pid_t pid;
} proc710;

typedef struct resource710 {
	int nbPrinters;
	int nbScanners;
	int nbModems;
	int nbCDs;
} resource710;

#endif // STRUCTS_H